package com.itheima;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@Slf4j
@SpringBootApplication
@ServletComponentScan//扫面reggie下面的包组件
@EnableCaching
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);

        log.info("项目启动成功");
    }



}
/*
* 1.新键maven项目
* 2.导入pom.xml的坐标
* 3.复制application.yml
* 4.编写引导类App
*
* */